﻿using hyjx.bind;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MixerReport.Commands
{
    public class ExitCommand : CommandBase
    {
        public override bool CanExecute(object? parameter)
        {
            return true;
        }

        public override void Execute(object? parameter)
        {
            if (!CanExecute(parameter))
                return;

            App.Current.Shutdown();
        }
    }
}
